home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1995 March / PC Plus Super CD (Issue 101) (March 1995).iso / tclite / include / lookupke.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-27  |  651 b   |  25 lines

  1. #ifndef    LOOKUPKEY_H
  2. #define    LOOKUPKEY_H
  3.  
  4. #include "object.h"
  5.  
  6. extern const Class class_LookupKey;
  7.  
  8. class LookupKey: public Object {
  9.     Object* akey;
  10. public:
  11.     LookupKey(const Object& newKey =*nil);
  12.     virtual int compare(const Object&) const;
  13.     virtual void deepenShallowCopy();
  14.     virtual unsigned hash() const;
  15.     virtual const Class* isA() const;
  16.     virtual bool isEqual(const Object&) const;
  17.     virtual Object* key() const;
  18.     virtual Object* key(const Object& newkey);
  19.     virtual void printOn(ostream& strm) const;
  20.     virtual Object* value() const;
  21.     virtual Object* value(const Object& newvalue);
  22. };
  23.  
  24. #endif
  25.